package com.xykj.enterprise.wechat.event.service.ext;

import com.xykj.enterprise.wechat.bean.ext.BaseResp;
import com.xykj.enterprise.wechat.bean.ext.contacts.department.CreateDepartmentVo;
import com.xykj.enterprise.wechat.bean.ext.contacts.department.DepartmentListVo;
import com.xykj.enterprise.wechat.bean.ext.externalcontact.GroupChatListVo;
import com.xykj.enterprise.wechat.bean.ext.externalcontact.GroupChatVo;

import java.util.HashMap;

/**
 * 通讯录管理-部门
 */
public interface ContactsDepartmentService {

    /**
     * 创建部门
     *
     * @param accessToken
     * @param params
     * @return
     */
    CreateDepartmentVo createDepartment(String accessToken, HashMap<String, Object> params);

    /**
     * 删除部门
     *
     * @param accessToken
     * @param id
     * @return
     */
    BaseResp deleteDepartment(String accessToken, Integer id);

    /**
     * 查询部门列表
     *
     * @param accessToken
     * @param id
     * @return
     */
    DepartmentListVo departmentList(String accessToken, Integer id);

    /**
     * 更新部门
     *
     * @param accessToken
     * @param params
     * @return
     */
    BaseResp updateDepartment(String accessToken, HashMap<String, Object> params);


}
